From: | Allan Odgaard |
Date: | 03 Aug 99 at 18:10:56 |
Subject: | Re: Drawing images on Intution |
From: Allan Odgaard <Duff@DIKU.DK>
On 03-Aug-99, Steffen wrote:
>> ask your code to redraw the damaged areas which arise while dragging a card.
> You could allso keep a copy of the entire display. That way, you blit ones
> instead of twice, but it requires chipmem. If you want the speed, i think
> this is fastest.
I don't think so, because the contents of the window changes, thus you'll need
to make a copy to the off-screen buffer each time. Plus, if the user has a
graphics card, then the off-screen buffer could end up in fast mem (when
there's no more memory on the board) and that makes blitting very slow...
> You can allso use BltBitMap() and use RPort->BitMap,
No - you must access your windows bitmap through its rastport, because you need
the layer info. Like the windows position in the bitmap, if windows cover it
(which could mean an extra bitmap for smart refresh windows) etc. etc.
Regards Allan